dwc_otg: remove unnecessary dma-mode channel halts on disconnect interrupt
authorP33M <p33m@github.com>
Mon, 15 May 2017 13:51:42 +0000 (14:51 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 15 May 2017 15:23:14 +0000 (16:23 +0100)
commit1423ac8bfbfb2a9d092b604c676e7a58a5fa3367
tree9f5c07ae8d8c76a39e7b10e995f472cce69624a6
parent26cf563fe91ad48513a7f21158b8af977b07067d
dwc_otg: remove unnecessary dma-mode channel halts on disconnect interrupt

Host channels are already halted in kill_urbs_in_qh_list() with the
subsequent interrupt processing behaving as if the URB was dequeued
via HCD callback.

There's no need to clobber the host channel registers a second time
as this exposes races between the driver and host channel resulting
in hcd->free_hc_list becoming corrupted.
drivers/usb/host/dwc_otg/dwc_otg_hcd.c